#ifndef _ACTION_H
#define _ACTION_H
#include "common.h"

/**
 * The -print action.
 */
int print_action(const char *, struct dirent *);

/**
 * The -print0 action.
 */
int print0_action(const char *, struct dirent *);

/**
 * Interface to check if given string is an action.
 */
int is_action(const char *);

/**
 * Interface to get action.
 */
action get_action(const char *action_name, char *args[]);

#endif
